const userCenter = () =>
  import(/* webpackChunkName: "userCenter" */ '@/components/stageNav/userCenter/userCenter')
const invitorList = () =>
  import(/* webpackChunkName: "invitorList" */ '@/components/stageNav/userCenter/invitorList')
const ordersNow = () =>
  import(/* webpackChunkName: "ordersNow" */ '@/components/stageNav/ordersNow/ordersNow')
const checkPackage = () =>
  import(/* webpackChunkName: "checkPackage" */ '@/components/stageNav/ordersNow/checkPackage')
const paySuccess = () =>
  import(/* webpackChunkName: "paySuccess" */ '@/components/stageNav/ordersNow/paySuccess')
const orderManger = () =>
  import(/* webpackChunkName: "orderManger" */ '@/components/stageNav/orderManger/orderManger')
const orderLogisticList = () =>
  import(/* webpackChunkName: "orderLogisticList" */ '@/components/stageNav/orderManger/orderLogisticList')
const giftManger = () =>
  import(/* webpackChunkName: "giftManger" */ '@/components/stageNav/giftManger/giftManger')
const editGift = () =>
  import(/* webpackChunkName: "editGift" */ '@/components/stageNav/giftManger/editGift')
const accountMoney = () =>
  import(/* webpackChunkName: "accountMoney" */ '@/components/stageNav/money/accountMoney')
const forgetCommon = () =>
  import(/* webpackChunkName: "forgetCommon" */ '@/components/stageNav/money/forgetCommon')
const noticeList = () =>
  import(/* webpackChunkName: "noticeList" */ '@/components/stageNav/notice/noticeList')
const noticeDetail = () =>
  import(/* webpackChunkName: "noticeDetail" */ '@/components/stageNav/notice/noticeDetail')
const giftStore = () =>
  import(/* webpackChunkName: "giftStore" */ '@/components/stageNav/giftStore/giftStore')
const wishList = () =>
  import(/* webpackChunkName: "wishList" */ '@/components/stageNav/giftStore/wishList')
const samApplay = () =>
  import(/* webpackChunkName: "samApplay" */ '@/components/stageNav/giftStore/samApplay')

const stage = [{
  path: '/backStage/userCenter',
  component: userCenter,
  name: 'userCenter',
  meta: {
    title: '个人中心'
  }
},
{
  path: '/backStage/userCenter/invitorList',
  component: invitorList,
  name: 'invitorList',
  meta: {
    title: '我的邀请'
  }
},
{
  path: '/backStage/ordersNow',
  component: ordersNow,
  name: 'ordersNow',
  meta: {
    title: '立即采购'
  }
},
{
  path: '/backStage/ordersNow/checkPackage',
  component: checkPackage,
  name: 'checkPackage',
  meta: {
    title: '采购套餐'
  }
},
{
  path: '/backStage/ordersNow/paySuccess',
  component: paySuccess,
  name: 'paySuccess',
  meta: {
    title: '支付成功'
  }
},
{
  path: '/backStage/orderManger',
  component: orderManger,
  name: 'orderManger',
  meta: {
    title: '订单管理'
  }
},
{
  path: '/backStage/searchOrder/orderLogisticList',
  component: orderLogisticList,
  name: 'orderLogisticList',
  meta: {
    title: '订单管理-物流记录'
  }
},
{
  path: '/backStage/giftManger',
  component: giftManger,
  name: 'giftManger',
  meta: {
    title: '礼品包管理'
  }
},
{
  path: '/backStage/giftManger/editGift',
  component: editGift,
  name: 'editGift',
  meta: {
    title: '礼品包管理-编辑'
  }
},
{
  path: '/backStage/money/accountMoney',
  component: accountMoney,
  name: 'accountMoney',
  meta: {
    title: '资金账户'
  }
},
{
  path: '/backStage/money/forgetCommon',
  component: forgetCommon,
  name: 'forgetCommon',
  meta: {
    title: '资金账户-忘记备注'
  }
},
{
  path: '/backStage/notice/noticeList',
  component: noticeList,
  name: 'noticeList',
  meta: {
    title: '公告列表'
  }
},
{
  path: '/backStage/notice/noticeDetail',
  component: noticeDetail,
  name: 'noticeDetail',
  meta: {
    title: '公告详情'
  }
},
{
  path: '/backStage/giftStore',
  component: giftStore,
  name: 'giftStore',
  meta: {
    title: '礼品库'
  }
},
{
  path: '/backStage/giftStore/wishList',
  component: wishList,
  name: 'wishList',
  meta: {
    title: '心愿单'
  }
},
{
  path: '/backStage/giftStore/samApplay',
  component: samApplay,
  name: 'samApplay',
  meta: {
    title: '样品申请'
  }
}
]

export default stage
